package com.smartkey.bean;

import java.io.Serializable;

import android.graphics.drawable.Drawable;

public class AppInfo implements Serializable {

	public enum APPID {
		/**
		 * 未知
		 */
		UNKOWN("UNKOWN"),
		/**
		 * 拍照
		 */
		TAKE_PHOTO("TAKE_PHOTO"),
		/**
		 * 摄像
		 */
		MAKE_VEDIO("MAKE_VEDIO"),
		/**
		 * 录音
		 */
		RECORD("RECORD"),
		/**
		 * 手电筒
		 */
		FLASHLIGHT("FLASHLIGHT"),
		/**
		 * 截屏
		 */
		SCREENTSHOT("SCREENTSHOT"),
		/**
		 * home
		 */
		HOME("HOME"),
		/**
		 * 清除内存
		 */
		CLEARMEMOMRY("CLEARMEMOMRY"),
		/**
		 * 拨号
		 */
		DIAL("DIAL"),
		/**
		 * 发短信
		 */
		SENDMESSAGE("SENDMESSAGE"),
		/**
		 * 旋屏
		 */
		ROTATINGSCREEN("ROTATINGSCREEN");

		String value;

		private APPID(String value) {
			this.value = value;
		}
		
		public String getValue(){
			return value;
		}

	}

	public String appName = "";
	public String packageName = "";
	public APPID appId = APPID.UNKOWN;
	public String versionName = "";
	public int versionCode = 0;
	public Drawable appIcon = null;
	public boolean isCheck = false;
	public boolean isDefault = false;

	public void print() {
		// Log.v("app","Name:"+appName+" Package:"+packageName);
		// Log.v("app","Name:"+appName+" versionName:"+versionName);
		// Log.v("app","Name:"+appName+" versionCode:"+versionCode);
	}

}